
import 'package:enterprise_v6_app/app/data/common/choice_bean.dart';

/// 应急资源评估状态
class EmergencyAssessStatus extends ChoiceBean {
  EmergencyAssessStatus(this.name, this.value);

  final String name;
  final int value;

  bool _checked = false;

  @override
  String getId() {
    return name;
  }

  @override
  bool getIsChecked() {
    return _checked;
  }

  @override
  String getShowName() {
    return name;
  }

  @override
  setIsChecked(bool isChecked) {
    _checked = isChecked;
  }

  @override
  String toString() {
    return value.toString();
  }

  static List<EmergencyAssessStatus> get assessList => [
    EmergencyAssessStatus('未评估', 1),
    EmergencyAssessStatus('已评估', 2),
  ];
}
